package com.kantboot.functional.pay.order.event;

import com.kantboot.functional.pay.order.domian.entity.FunctionalPayOrder;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * 支付订单事件
 */
@Getter
@Setter
public class PayEmitEvent extends ApplicationEvent {

    private FunctionalPayOrder payOrder;

    public PayEmitEvent(Object source, FunctionalPayOrder payOrder) {
        super(source);
        this.payOrder = payOrder;
    }

}
